#pragma once

#include "actor.h"
#include "../gameSettings.h"

void deadBodyTimeout(Actor *a);

class DeadBody : public Actor {
public:
	int timer;

	DeadBody(int in_x, int in_y, Facing in_o)
		: Actor(in_x, in_y, in_o), timer(8)
	{
		addCallback(new TimedCallback(deadBodyTimeout, DEAD_BODY_DURATION, false));
	}

	// get the tile representing the current actor
	TILE_TYPE getTile() {
		return DEAD_BODY;
	}
};
